package com.example.newbilityblog.admin.infrastructure.repository;

import com.example.newbilityblog.admin.infrastructure.entity.AdminUserEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface AdminUserRepository extends JpaRepository<AdminUserEntity, Long> {

    Optional<AdminUserEntity> findByUsernameAndPassword(String username, String password);
}
